package cn.hznc.repository;

import cn.hznc.domain.entity.AllotEmployeeEntity;
import cn.hznc.domain.entity.WarehouseEntity;
import cn.hznc.domain.request.process.CheckAllotEmployeeGroupReq;
import cn.hznc.domain.request.process.CheckAllotEmployeeReq;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author：Administrator
 * @Date：2023/8/25 10:18
 */
public interface AllotEmployeeRepository {
    List<AllotEmployeeEntity> selectByCondition(CheckAllotEmployeeReq checkAllotEmployeeReq);

    List<String> checkAllotEmployeeGroup(@Param("startTime") Date startTime , @Param("endTime") Date endTime);

    String selectMachineToolEmployee(@Param("currentTime") String currentTime,@Param("id") Integer id);

    List<AllotEmployeeEntity> queryAllotEmployee(@Param("employeeName") String employeeName);
}
